]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Components/Keyring: unregister the system prompter when disabling
authorGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 4 Sep 2012 23:13:36 +0000 (01:13 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 4 Sep 2012 23:13:36 +0000 (01:13 +0200)
Otherwise, we get a critical when enabling again

js/ui/components/keyring.js

index dfa7cc00722669b23d8d9611cac14cb22f600ac7..ef53c0b42a847d3ddd3de36a0bfbc250d33e368b 100644 (file)
@@ -219,6 +219,7 @@ const KeyringPrompter = new Lang.Class({
     },
 
     disable: function() {
+        this._prompter.unregister(false);
         Gio.DBus.session.unown_name(this._dbusId);
     }
 });